using IuliiaBot.Application.Interfaces;

namespace IuliiaBot.Application.Commands;

public abstract class CommandBase
{
    protected readonly ISander _sander;

    public async Task<bool> RunCommandAsync()
    {
        return await InternalCommand();
    }

    protected abstract Task<bool> InternalCommand();

    protected CommandBase(ISander sander) 
    {
        _sander = sander;
    }
}
